package com.design.observer.guava;

import com.google.common.eventbus.EventBus;

public class TestObserver {

    public static void main(String[] args) {
        EventBus eventBus = new EventBus();
        GuavaEvent guavaEvent = new GuavaEvent();
        eventBus.register(guavaEvent);

        eventBus.post("Lisa");

    }
}
